package com.shy.service.impl;

import com.shy.entity.Product;
import com.shy.mapper.ProductMapper;
import com.shy.service.ProductService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductServiceImpl implements ProductService {
    @Resource
    private ProductMapper productMapper;
    @Override
    public List<Product> queryProductList() {
        return productMapper.selectAllList();
    }
}
